<?php
echo $javascript->codeBlock("
	$(document).ready(function(){
		$(\".gallery a[rel^='prettyPhoto']\").prettyPhoto({animationSpeed:'slow',theme:'facebook',slideshow:8000,autoplay_slideshow:false,overlay_gallery:false});

	});		
",$options = array('allowCache'=>false,'safe'=>false,'inline'=>false));
?>